﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CashFlow.Entities;

namespace CashFlow.AzureRepository.Tests
{
	[TestClass]
	public class TenantRepositoryTest
	{
		private AzureTenantRepository repository;

		[TestInitialize]
		public void InitTest()
		{
			repository = new AzureTenantRepository(Tenant.GetDefault().Id);
		}


		[TestMethod]
		[Ignore]
		public void CreateTenant()
		{
			var tenant = new Tenant
			{
				Id = Tenant.GetDefault().Id,
				InitialBalanceAmount = 100,
				InitialBalanceDate = DateTime.Today
			};
			repository.Create(tenant);

			Assert.IsTrue(true);
		}

	}
}
